import React from 'react'
import ReactDom from 'react-dom'
import { Provider } from 'react-redux'
import { ConfigProvider } from 'antd'
// 由于 antd 组件的默认文案是英文，所以需要修改为中文
import zhCN from 'antd/lib/locale/zh_CN';
import App from './App'
import store from './store'  //引入状态管理器
import './index.css'
ReactDom.render(
    <Provider store={ store}>
        <ConfigProvider locale= { zhCN}>
            <App/>
        </ConfigProvider>
    </Provider>,
    document.querySelector('#root')
)